I have the following code that updates a document in MongoDB:
exercisesRouter.put(\'/:exerciseId\', async (req, res) => { try { await mongoose.connec