validate([ 'managed_price' => 'sometimes|numeric|max:1000|nullable', ]); $host->managed_price = $request->managed_price; $host->save(); return $this->updated($host); } }