Updating a Commit Script from the Master Source
To update a single commit script from its master source, issue the set refresh command at the [edit system scripts commit file filename] hierarchy level. The master source must already be configured as described in Configuring the Master Source for a Commit Script.
To update all enabled commit scripts from their master sources, issue the set refresh command at the [edit system scripts commit] hierarchy level:
When you issue the set refresh command, the router immediately attempts to connect to the device that houses the master source for the script files and retrieve a copy of each file. The master copy overwrites the script stored in the local commit scripts directory. The updated commit script is executed when you next issue the commit command. If no master source for a script is defined, it is not updated and a warning is issued.
If the router has dual Routing Engines and you want to update a script on both Routing Engines, you must issue the set refresh command on each Routing Engine separately. The commit synchronize command does not cause the refresh statement to update scripts on both Routing Engines.

