eloquent update value code example
Example 1: update column value laravel
Page::where('id', $id)->update(array('image' => 'asdasd'));
Example 2: how to update all row in laravel
DB::table('table')->update(['column' => 1]);
Model::query()->update(['confirmed' => 1]);