title: what is the update method in laravel 5.4 crud?
body: <p>i just trying to crud system. for that into controller store function my code is</p>
  
  <pre><code> public function store(Request $request)
  {
      Article::create([
          'user_id' =&gt; auth()-&gt;id(),
          'content' =&gt; $request-&gt;content,
          'live' =&gt; (boolean)$request-&gt;live,
          'post_on' =&gt; $request-&gt;post_on
          ]);
  
      return redirect('/articles');
  }
  </code></pre>
  
  <p>it's enough to store data, but when i want to edit article &amp; save again then what will be my edit function code? i have no idea. i trying same code into edit function &amp; it create new article not update. so what will be right code for edit function? thanks</p>