Update Records
Update Records ~10 mins
Prerequisite: List Collection Records
    db.users.find();
{ "_id" : ObjectId("5fc072c348cb2dbe817558e5"), "name" : "Naresh", "email" : "nareshkumarh@live.com", "password" : "pass123", "role" : "ADMIN" }
{ "_id" : ObjectId("5fc072c348cb2dbe817558e6"), "name" : "Suresh", "email" : "suresh@gmail.com", "password" : "pass123", "role" : "USER" }
{ "_id" : ObjectId("5fc072c348cb2dbe817558e7"), "name" : "Prabu", "email" : "prabhu@gmail.com", "password" : "pass123", "role" : "USER" }
Reference
Task 1.1: Update Password for the given email
   db.users.updateOne({email:"nareshkumarh@live.com"},{$set:{password:"newpassword"}});
{ "acknowledged" : true, "matchedCount" : 1, "modifiedCount" : 1 }
Task 1.2: Update many records ( update all users with active =1 )
   db.users.updateMany({},{$set:{active:1}});
{ "acknowledged" : true, "matchedCount" : 3, "modifiedCount" : 3 }