title: Add and remove from array in single query
body: <p>I want to make a query in which i want to know either the user like or unlike my status, now i want to make it on single query so that I will not call the DB 2 times from my NODEJS server, do any have solution of my problem.</p>
  
  <p>For Add We are using 
      collection.update({ _id: id },
          { $pull: { 
              'user_id': 'xxxx-xxxx-xxxx-xxxx' }
          }
      );</p>
  
  <p>For Remove We are using </p>
  
  <pre><code>collection.update({ _id: id },
      { $push: { 
          'user_id': 'xxxx-xxxx-xxxx-xxxx' } 
      }
  );
  </code></pre>
  
  <p>Now I want to use both of them in one query like if apply present in fruit array remove it if not add it.</p>