title: Laravel 5.5 Call to undefined method stdClass::update()
body: <p>Laravel 5.5 show me the error message: </p>
  
  <blockquote>
    <p>Call to undefined method stdClass::update()</p>
  </blockquote>
  
  <p>for the following codes in the Model</p>
  
  <pre><code>DB::table('adminUserLogs')
              -&gt;where('adminUserId', $id)
              -&gt;where('adminUserOutTime', NULL)-&gt;first()
              -&gt;update(['adminUserOutTime' =&gt; \Carbon\Carbon::now()]);
  </code></pre>