$set
An update operator that sets the named fields to new values and leaves all other fields alone. It's the safe everyday way to change a document.
An update operator that sets the named fields to new values and leaves all other fields alone. It's the safe everyday way to change a document.