title: Laravel Update only 1 row?
body: <p>Is there a way to update only 1 row in Laravel 5? I want to set the value of selected to true from only 1 row, ordered by id:</p>
  
  <p>Ill tried:</p>
  
  <pre><code>DB::table('user_tabs')-&gt;where('user_id', '=', $user_id)-&gt;orderBy('id', 'desc')-&gt;take(1)-&gt;update(array('selected' =&gt; true));
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>DB::table('user_tabs')-&gt;where('user_id', '=', $user_id)-&gt;orderBy('id', 'desc')-&gt;first()-&gt;update(array('selected' =&gt; true));
  </code></pre>
  
  <p>but it is not working. Any ideas? </p>