Ticket: Update comments does not work

I have my code
response = db.comments.update_one(
{ “comment_id”:ObjectId(comment_id), “email”:user_email},
{ “$set”: { “text”: text, “data”:date}}
)
pytest can pass 3 other test except update. I debug that query can find the comments too. However, it did not update when I even change it to
response = db.comments.update_many(
{ “comment_id”:ObjectId(comment_id), “email”:user_email},
{ “$set”: { “text”: text, “data”:date}}
)
Could someone help?

It should be _id instead of comment_id.

Kanika