title: Eloquent update and event observers
body: <p>I am making an API with lumen. I am trying to update entry and fire updated observer.
  What I tried so far</p>
  
  <pre><code>$data = [];
  $fota_device = Fota_device::find($deviceId);
  $fota_device-&gt;update($data);
  </code></pre>
  
  <p>This code does not update database or fire updated event.</p>
  
  <pre><code>$data = [];
  $fota_device = Fota_device::where('id', $deviceId);
  $fota_device-&gt;update($data);
  </code></pre>
  
  <p>This code updates database but also does not fire the event.
  I have read that eloquent does not fire updated events on mass assigns, but one of this way should at least fire the event but does not.</p>
  
  <p>my observer</p>
  
  <pre><code>public function updated(Device $device)
  {
      dd($fota_device);
      $user = Auth::user();
      $action = Users_action::create([
          'userId' =&gt; $user-&gt;id, 
          'created_at' =&gt; \Carbon\Carbon::now()-&gt;toDateTimeString()
      ]);
  }
  </code></pre>
  
  <p>Why does first code sample not update the entry in the table and why could the observer not be fired?</p>