Do not replace the object on save

In past when a document was saved a new object used to replace the just saved one (with more information to speed up updates on a resave). Now it adds an extra property instead of replace the object.