MongoDB documents can be updated using the operation db.collection.update().
For example, below operation updates the title of an employee named 'John Doe' to 'Sr Manager'
>db.employees.update(
{fname:"John", lname:"Doe"},
{$set:{ title:"Sr. Manager"}}
)