db.c20160712.updateOne( { "Attribute" : "good" }, { $set: {"Type" : "DVD", "Title" : "Matrix, The", "Released" : 1999, "Genre" : "Action" } }, { upsert: true } );