update a dirty model laravel code example Example: laravel model is dirty if($product->isDirty()){ // changes have been made }