public function update(StoreProduct $request, Product $id): RedirectResponse 	{ 		$request->validate([ 			'slug' => ['required', 'string', 'max:110', 'unique:' . get_class($id) . ',slug,' . $id->id], 			'slug_en' => [ 				'required', 'string', 'max:110', Rule::unique(Translation::class, 'value') 					->ignore($id->id, 'item_id') 					->where(function ($query) use ($id) { 						return $query->where('item_type', get_class($id)); 					}), 			], 		]);  		$id->update([ 			'name' => $request->name, 			'slug' => $request->slug, 			'category_id' => $request->category_id, 			'short_description_label' => $request->short_description_label, 			'short_description' => $request->short_description, 			'harvest_description' => $request->harvest_description, 			'description' => $request->description, 			'price' => $request->price, 			'weight' => $request->weight, 			'year' => $request->year, 			'aging_potential' => $request->aging_potential, 			'recommendation' => $request->recommendation, 			'volume' => $request->volume, 			'temperature' => $request->temperature, 			'active' => $request->boolean('active'), 			'is_buyable' => $request->boolean('is_buyable'), 			'is_sold_out' => $request->boolean('is_sold_out'), 			'archived' => $request->boolean('archived'), 		]);  		$id->updateTranslations([ 			'name' => [ 				'en' => $request->name_en, 			], 			'slug' => [ 				'en' => $request->slug_en, 			], 			'short_description_label' => [ 				'en' => $request->short_description_label_en, 			], 			'short_description' => [ 				'en' => $request->short_description_en, 			], 			'harvest_description' => [ 				'en' => $request->harvest_description_en, 			], 			'description' => [ 				'en' => $request->description_en, 			], 			'aging_potential' => [ 				'en' => $request->aging_potential_en, 			], 			'recommendation' => [ 				'en' => $request->recommendation_en, 			], 		]);  		$id->saveFilterValues($request->filters_hr) 			->saveFilterTranslations('en', $request->filters_en);  		$id->storage()->handle($request->media);  		return $this->redirectFromSave('products.list'); 	}