Introduction
Updating documents lets you change information in your database without deleting and adding new data. This keeps your data accurate and current.
When a user's email address changes and you need to save the new one.
When you want to fix a typo in a product description.
When you need to mark an order as shipped after it is sent.
When you want to add a new phone number to a contact's details.
When you want to update the status of a task from 'pending' to 'done'.