title: How to use mutators in laravel mass update?
body: <p>I am currently updating multiple rows in my database by doing  the following:</p>
  
  <p>I take an array in a post and loop through it, each member is an array of <code>fieldname=&gt;value</code> and I am doing an update on each one. the problem is that the mutators I have set up do not get run when I update this way. is there another way to update that is efficient and will call the mutators?</p>
  
  <p>code:</p>
  
  <pre><code>foreach ($post['row'] as $row) {
       Instances::where('id', $row['id'])-&gt;update($row);
    }
  </code></pre>