title: Updating User Profile in Laravel
body: <p>Hello I've been trying to update the avatar profile of a user, through image intervention, tho I cannot seem to update it. The $user-&gt;save isn't being read by Laravel</p>
  <pre><code>
  public function update_avatar(Request $request) {
          if($request-&gt;hasFile('avatar')) {
              $avatar = $request-&gt;file('avatar');
              $filename = time() . '.' . $avatar-&gt;getClientOriginalExtension();
              Image::make($avatar)-&gt;resize(300, 300)-&gt;save( public_path('/images/avatars/' . $filename) );
  
              $user = Auth::user();
              $user-&gt;avatar = $filename;
              $user-&gt;update();
          }
  
  </code></pre>