title: Push to two separate arrays in one update call in mongodb
body: <p>I am trying to update to update two separate arrays in a document with one update call. Is there a way to do this?</p>
  
  <p>For example if I have a document like:</p>
  
  <pre><code>{
    _id:1,
    array1:[1],
    array2:[4]
  }
  </code></pre>
  
  <p>right now i am doing this:</p>
  
  <pre><code>db.collection.update({_id:1},{$push:{array1:"2"}})
  db.collection.update({_id:1},{$push:{array2:"5"}})
  </code></pre>
  
  <p>Is there a way to reduce this to just one call? I have tried just passing an array to push, i have tried multiple push statements in update object but those don't work. Thanks for your help with this!</p>