title: what is the syntax for updating a numberlong field in mongodb?
body: <p>I ran the following command and it did not update the records needed:</p>
  
  <pre><code>db.email_queue.update({agent_id:"55d4ec8578d34f8e048b4e56"},{$set:{cancelled:1}},{multi:true})
  </code></pre>
  
  <p>The mongo records look like this:</p>
  
  <pre><code>"canceled": NumberLong(0)
  </code></pre>
  
  <p>need it to look like this:</p>
  
  <pre><code>"canceled": NumberLong(1)
  </code></pre>