public function update(StoreGallery $request, Gallery $id): RedirectResponse 	{ 		$id->update([ 			'name' => $request->name, 			'ordering' => $request->ordering, 		]);  		$id->updateTranslations([ 			'name' => [ 				'en' => $request->name_en, 				'de' => $request->name_de, 				'it' => $request->name_it, 			], 		]);  		foreach ($id->videos as $video) { 			$video->delete(); 		}  		if ($request->video_codes) { 			foreach ($request->video_codes as $video) { 				$id->videos()->create([ 					'video_code' => $video, 				]); 			} 		}  		$id->storage()->handle($request->media);  		return $this->redirectFromSave('galleries.list'); 	}