title: Sequelize update does not work anymore: "Missing where attribute in the options parameter passed to update"
body: <p><a href="http://docs.sequelizejs.com/class/lib/model.js~Model.html#static-method-update" rel="nofollow noreferrer">The official API documentation</a> suggests using <code>Model.update</code> like this:</p>
  
  <pre><code>var gid = ...;
  var uid = ...;
  
  var values = { gid: gid };
  var where = { uid: uid };
  myModel.update(values, where)
  .then(function() {
      // update callback
  });
  </code></pre>
  
  <p>But this gives me: "Missing where attribute in the options parameter passed to update".
  The docs also mention that this usage is deprecated. Seeing this error makes me think, they already changed it. What am I doing wrong?</p>