title: Update mongodb record using objectID not working
body: <p>I have a route in a Flask application that updates an attribute of a specified record. The code I currently have isn't working so I must be doing something wrong but all the places I am looking, my code looks similar.</p>
  
  <p>Take this Object: </p>
  
  <p><code>{"item": "Finish homework", "_id": {"$oid": "549548f93482984f399f9"}, "complete": false}</code></p>
  
  <p>I want to update "complete" to be True. Here is the code I currently have in my route:</p>
  
  <pre><code>todos.update({ "_id": todo_id }, { "$set": { "complete": "True" } })
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks</p>