uodate row after get in laravel code example
Example: eloquent update row response
DB::table('users')
->where('id', 1)
->update(['votes' => 1]);
DB::table('users')
->where('id', 1)
->update(['votes' => 1]);