I think you posted this on another forum, and we determined that you didn't have a MAINTAIN license, and that you need to download the MODIFY manual and study up on how that works; The code would depend entirely on the mfd of the file you're updating.
-SUSANNAH