title: Sequelize: how to update with associations?
body: <p>I have this structure of Models, using Sequelize:</p>
  <pre><code>class Company extends Model {
      static init(sequelize) {
          super.init({
              name: { type: DataTypes.STRING },
              email: { type: DataTypes.STRING }
          }, {
              sequelize
          });
      }
  
      static associate(models) {
          this.HasMany(models.Address, { foreignKey: 'company_id', as: 'addresses' })
      }
  }
  
  class Address extends Model {
      static init(sequelize) {
          super.init({
              street: { type: DataTypes.STRING },
              zipcode: { type: DataTypes.STRING },
              city: { type: DataTypes.STRING }
          }, {
              sequelize
          });
      }
  
      static associate(models) {
          this.BelongsTo(models.Company, { foreignKey: 'company_id', as: 'company' })        
      }
  }
  </code></pre>
  <p>I need &quot;Company&quot; and &quot;Address&quot; to be updated simultaneously in the database, when the API has a <em>put</em> request, sending a JSON file.</p>
  <p>Insert worked simultaneously, with the code:</p>
  <pre><code>await Company.create(company,{
    include: [{
      association: 'addresses'
    }]
  });
  </code></pre>
  <p>However, when using the update method, it only updates the data of &quot;Company&quot; but &quot;Address&quot; does not change.</p>
  <p>Has anyone been through this and has a solution? I couldn't find anything in the Sequelize manual</p>