Updating Data in a Node App can be very easily done using the mongoose package. Here is the sample code for updating a field in the database.
Updating Data in MongoDB using Mongoose

Delete Data from MongoDB using Mongoose
Delete One using Mongoose

Delete Many using Mongoose
