C# how to Replacing an object by a deserialized version of it, and preserving references?

I had an object ,but I need override and update By by a deserialized version of it。 mongodb how to Replacing an object by a deserialized version of it, and preserving references?