title: Updating a row in the database from the modal using Laravel Eloquent
body: <p>I have a <code>calls table</code> that is populated from a form,</p>
  
  <p><strong>calls table</strong>
      
  
  <pre><code>public function up()
  {
      Schema::create('calls', function (Blueprint $table) {
          $table-&gt;increments('id');
          $table-&gt;integer('user_id')-&gt;unsigned()-&gt;nullable();
          $table-&gt;timestamps();
          $table-&gt;text('terminal_id', 20);
          $table-&gt;text('terminal_name', 100);
          $table-&gt;text('fault_description');
          $table-&gt;string('call_status', 10)-&gt;default('New call');
          $table-&gt;text('assigned_FE', 20)-&gt;nullable();
          $table-&gt;text('closed_on', 20)-&gt;nullable();
          $table-&gt;text('closed_by', 50)-&gt;nullable();
          $table-&gt;foreign('user_id')-&gt;references('id')-&gt;on('users')-&gt;onDelete('cascade');
      });
  }
  </code></pre>
  
  <p>I want to fetch and update only the <code>assigned_FE</code> column in my <code>calls table</code> with a user's entry on this modal form </p>
  
  <pre><code>&lt;div class="modal-body"&gt;
      &lt;form action="{{route('Call.update')}}" method="POST" style="padding:30px 0px"&gt;
  
          @csrf
          &lt;div class="col-md-6"&gt;
              &lt;div class="input-group" style="width: 100%;"&gt;
                  &lt;label for="assigned_FE"&gt;{{ __('Name of field engineer') }}&lt;/label&gt;&lt;br&gt;
                  &lt;input type="text" name="assigned_FE" id="assigned_FE" class="form-control" placeholder="Name of field engineer" style="padding: 20px;" required&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;button type="submit" class="btn-primary" style="padding: 10px; font-size: 14px; border: 0; margin-top:25px"&gt;{{ __('Submit') }}&lt;/button&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How do I achieve this without fetching all the data in a call's row?
  I don't have an idea of what to place in my <code>CallsController</code> 
  This is my <code>CallsController</code> </p>
  
  <pre><code>public function edit($id)
  {
  //find the call in the db and save it as a variable
  $call = Call::find($id);
  //return it to the view and pass in the variable
  
  
  }
  
  /**
  * Update the specified resource in storage.
  *
  * @param  \Illuminate\Http\Request  $request
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
  public function update(Request $request, $id)
  {
  //
  }
  </code></pre>
  
  <p>and here is my Calls model (<code>Call.php</code>)</p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  
  class Call extends Model{
  
      protected $fillable = [
          'terminal_id',
          'terminal_name',
          'branch_address',
          'fault_description'
        ];
      //describing a one-to-many-relationship between calls and users
      public function user(){
  
          return $this-&gt;belongsTo('App\User');
  }
  }
  </code></pre>