Syntax:
update <filename> {<filename>}
If the file already exists, gnuplot first renames it by appending .old and then opens a new file. That is, "update 'fred'" behaves the same way as "!rename fred fred.old; update 'fred.old' 'fred'". [On DOS and other systems that use the twelve-character "filename.ext" naming convention, "ext" will be "old" and "filename" will be related (hopefully recognizably) to the initial name. Renaming is not done at all on VMS systems, since they use file-versioning.]
If a second filename is supplied, the updated values are written to this file instead, and the original parameter file is left unmodified.
Please see fit for more information.