db.getCollection('users') .updateMany( {'name':{'$exists':1}}, //Query {'$set': { //Values to update 'name':'New Name' } } )
db.c20160712.updateOne( { "Attribute" : "good" }, { $set: {"Type" : "DVD", "Title" : "Matrix, The", "Released" : 1999, "Genre" : "Action" } }, { upsert: true } );