title: Update Model Laravel
body: <p>While updating the model depending on the where clause, eloquent is unable to update the table.</p>
  
  <p>Using DB::enableQueryLog(), I found the raw query and executed it on Mysql workbench, it works as expected.</p>
  
  <p>The query is as mentioned below:</p>
  
  <pre><code>Model::where('uid', 'user1')
      -&gt;update(['uid' =&gt; 'user2']);
  </code></pre>
  
  <p>It's simply not updating the field.</p>