title: Call to a member function update() on string
body: <pre><code>public function update(Request $request)
  {
  
      $user =  Auth::user()-&gt;name ;
      $user-&gt;input($request-&gt;input('name'));
      $user-&gt;save;
  
  }
  </code></pre>