// db.Employee.update() is deprecated db.Employee.updateMany( {"Employeeid" : 1}, {$set: { "EmployeeName" : "NewMartin"}});