title: Laravel - Disable Updated At when updating
body: <p>Get a problem with update using query builder on laravel 5. I've tried to disabled the updated_at but keep failing.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>    $query = StockLog::where('stock_id', $id)-&gt;whereBetween('created_at', $from, $to])-&gt;update(['batch_id' =&gt; $max + 1]);
  </code></pre>
  
  <p>I've tried 2 ways:
  first one at my model i set:</p>
  
  <pre><code>public function setUpdatedAtAttribute($value)
  {
      /*do nothing*/
  }
  </code></pre>
  
  <p>Second one:</p>
  
  <pre><code>$stocklog = new StockLog;
  $stocklog-&gt;timestamps = false;
  
  $query = $stocklog::where('stock_id', $id)-&gt;whereBetween('created_at', [$from, $to])-&gt;update([
          'batch_id' =&gt; $max + 1]);
  </code></pre>
  
  <p>both of them are failed. is there anyway to disabled the updated_at? </p>
  
  <p>Thanks in advance</p>