public function update(StoreCocktail $request, Cocktail $id): RedirectResponse 	{ 		$id->update([ 			'name' => $request->name, 			'product_id' => $request->product_id, 			'ordering' => $request->ordering, 			'ingredients' => $request->ingredients, 			'preparation_description' => $request->preparation_description, 		]);  		$id->updateTranslations([ 			'name' => [ 				'en' => $request->name_en, 				'de' => $request->name_de, 				'it' => $request->name_it, 			], 			'ingredients' => [ 				'en' => $request->ingredients_en, 				'de' => $request->ingredients_de, 				'it' => $request->ingredients_it, 			], 			'preparation_description' => [ 				'en' => $request->preparation_description_en, 				'de' => $request->preparation_description_de, 				'it' => $request->preparation_description_it, 			], 		]);  		foreach ($id->products as $product) { 			$product->update([ 				'cocktail_id' => null, 			]); 		}  		$products = $request->products ?? [];  		foreach ($products as $item) { 			Product::where('id', $item)->update([ 				'cocktail_id' => $id->id, 			]); 		}  		$id->storage()->handle($request->media);  		return $this->redirectFromSave('cocktails.list'); 	}