update database using model object in laravel code example
Example 1: laravel force delete
Product::find($id)->forceDelete();
Example 2: laravel fillable
/**
* The attributes that are mass assignable.
*/
protected $fillable = [
'title',
'slug',
'body',
'image',
'published',
'comments_open'
];