Update document-object from external repository


On a document-object that has it's file in an external repository (using the file-connector), the properties 102-Repository and 103-Location are set. 

Is it possible to update the document-object to another file? For example one that has just been uploaded to the M-Files vault (tmp-upload-ID)?

Or can these properties not be set and should I make a copy of the whole registration? (https://developer.m-files.com/Samples-And-Libraries/Samples/Processes/Copying-Objects/)

Kind regards,