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) { 					return $query->where('item_type', Product::class); 				}), 			], 			'slug_de' => [ 				'required', 'string', 'max:110', Rule::unique(Translation::class, 'value')->ignore($id->id, 'item_id') 				->where(function ($query) { 					return $query->where('item_type', Product::class); 				}), 			], 			'slug_it' => [ 				'required', 'string', 'max:110', Rule::unique(Translation::class, 'value')->ignore($id->id, 'item_id') 				->where(function ($query) { 					return $query->where('item_type', Product::class); 				}), 			], 		]);  		$id->update([ 			'name' => $request->name, 			'slug' => $request->slug, 			'description' => $request->description, 			'details' => $request->details, 			'active' => $request->boolean('active'), 			'highlighted' => $request->boolean('highlighted'), 			'category_id' => $request->category_id, 			'product_sibling_id' => $request->product_sibling_id, 			'ordering' => $request->ordering, 		]);  		$id->updateTranslations([ 			'erp_name' => [ 				'en' => $request->erp_name_en, 				'de' => $request->erp_name_de, 				'it' => $request->erp_name_it, 			], 			'name' => [ 				'en' => $request->name_en, 				'de' => $request->name_de, 				'it' => $request->name_it, 			], 			'slug' => [ 				'en' => $request->slug_en, 				'de' => $request->slug_de, 				'it' => $request->slug_it, 			], 			'description' => [ 				'en' => $request->description_en, 				'de' => $request->description_de, 				'it' => $request->description_it, 			], 			'details' => [ 				'en' => $request->details_en, 				'de' => $request->details_de, 				'it' => $request->details_it, 			], 		]);  		if ($request->category_id) { 			$id->saveFilterValues($request->filters_hr) 				->saveFilterTranslations('en', $request->filters_en) 				->saveFilterTranslations('de', $request->filters_de) 				->saveFilterTranslations('it', $request->filters_it); 		} 		$id->storage()->handle($request->media);  		return $this->redirectFromSave('products.list'); 	}