Save assemblies with references

In our study procedure, the design three herewith appear very often.

Until now, my software allows to save all the files in finished status (with the job n° for example).

I would like to continue to automate until the saving and when renaming my files i have reference problem, i annot solve.

Therefore i need your help.

My soft is made with visual basic.

SolidworksApi macros