Update Table Using Laravel Model : <p>I've got a table for a sports team. The record shows the team selection and some other information. I want to update the record with the team selection. My model is thus:</p>

<pre><code>class Selection extends Model {

protected $table = "selection";

protected $fillable = [
    'loose',
    'hooker',
    'tight',
    'secrow1',
    'secrow2',
    'blindflank',
    'openflank',
    'eight',
    'scrum',
    'fly',
    'leftwing',
    'rightwing',
    'fullback',
    'sub1',
    'sub2',
    'sub3',
    'sub4',
    'sub5'
];
</code></pre>

<p>}</p>

<p>So I have a form which gives all the data for the positions and gives the id for the record in the DB. In my controller, I've got:</p>

<pre><code>public function storeFirstTeam()
{
    $input = Request::all();

    Selection::update($input-&gt;id,$input);

    return redirect('first-team');
}
</code></pre>

<p>But I get the following error:</p>

<blockquote>
  <p>Non-static method Illuminate\Database\Eloquent\Model::update() should not be called statically, assuming $this from incompatible context</p>
</blockquote>

<p>Can anyone point out my silly error?</p>
