Anywhere
collection.update(selector, modifier, [options], [callback])
Source
Modify one or more documents in the collection. Returns the number of affected documents.
Arguments
selector Mongo Selector, Object ID, or String Specifies which documents to modify modifier Mongo Modifier Specifies how to modify the documents callback Function Optional. If present, called with an error object as the first argument and, if no error, the number of affected documents as the second.