created_by = $auth; $model->updated_by = $auth; }); static::updating(static function ($model) use ($auth) { $model->updated_by = $auth; }); } }