title: Hook 'beforeUpdate' in a sequelize model issue
body: <p>I am developing an API with nodejs/express/sequelize.</p>
  
  <p>Actually when I am creating an user account. I got a Hook 'beforeCreate' which hash the user password thanks to bcrypt :</p>
  
  <pre><code>User.hook('beforeCreate', (user) =&gt; {
  if (user.password) {
    user.password = bcrypt.hashSync(user.password, bcrypt.genSaltSync(10), null);
  }
  });
  </code></pre>
  
  <p>where <code>user.password</code> is the password I provided when registered.</p>
  
  <p>This part is working well.</p>
  
  <p>Secondly I got a function which update this user account. Logically I added a hood 'beforeUpdate' :</p>
  
  <pre><code>User.hook('beforeUpdate', (user) =&gt; {
  console.log(user);
  if (user.password) {
    user.password = bcrypt.hashSync(user.password, bcrypt.genSaltSync(10), null);
  }
  });
  </code></pre>
  
  <p>But I got an issue with that one because <code>user.password</code> is not my provided data in the PATCH request but the hashed password in my database.</p>
  
  <p>I guess it is the model password and not the instance password... I don't know.
  If someone could help me to get the query value it would be nice.</p>