MongoDB Method: db.collection.updateMany()
Update/modify multiple documents of a collection. The documents are select by using a filter, and all the documents matching the criteria are updated by this method. updateMany() will update all the documents matching the filter criteria.