title: Method save does not exist occur after lockForUpdate Laravel 5.1
body: <h2>Laravel Cannot Save data to DB after Pessimistic Locking</h2>
  
  <p>I am facing the problem that cannot update data to db while using save method with Laravel 5.1.</p>
  
  <p>I am trying to update data with locking to avoid concurrency data and below is my code.</p>
  
  <p>Please help me.</p>
  
  <pre><code>namespace App\Model;
  use Illuminate\Database\Schema\Blueprint;
  use Illuminate\Support\Facades\DB;
  class Recharge extends Model
  {
  public function processSuccess($orderId, $type, $amount) {
          $query = [
              ['status', '&lt;=', 1],
              ['order_abm', '=', $orderId],
              ['type', '=', $type],
              ['amount', '=', $amount],
          ];
  
          \DB::beginTransaction();
          $concur_up = Recharge::where($query)-&gt;lockForUpdate()-&gt;get();
          $concur_up-&gt;status = 5;
          $concur_up-&gt;amounted = $amount;
          $concur_up-&gt;date    = time();
          $res =$concur_up-&gt;save();
          if (!$res) {
              return "fail";
          }
          \DB::commit();
          return true;
      }
  }
  </code></pre>
  
  <p>error shown in my editor</p>
  
  <p><a href="https://i.stack.imgur.com/5mcCU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5mcCU.png" alt="enter image description here"></a></p>
  
  <p>error shown in my browser</p>
  
  <p><a href="https://i.stack.imgur.com/XMoxb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XMoxb.png" alt="enter image description here"></a></p>
  
  <p>My using table</p>
  
  <p><a href="https://i.stack.imgur.com/IzRio.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IzRio.png" alt="enter image description here"></a></p>