Properties do not update in title block

I have created a small procedure to update properties in drawings. I open the documents invisible, update properties, save and close. But when I open the drawing with eDrawings viewer, the properties in title block are not updated. Only if I open the drawings with SolidWorks the title block gets updated and the file becomes dirty - SolidWorks asks for save, but I have not done any changes.

How can I make the properties update in title block even when opening the documents invisible?

Thanks

SolidworksApi macros