public function update(StoreHomeBanner $request, HomeBanner $id): RedirectResponse 	{ 		$id->update([ 			'type' => $request->enum('type', BannerType::class), 			'domain_id' => $request->domain_id, 			'title' => [ 				'en' => preg_replace('/\s+/', ' ', (string) $request->title_en), 				'hr' => preg_replace('/\s+/', ' ', (string) $request->title_hr), 				'de' => preg_replace('/\s+/', ' ', (string) $request->title_de), 				'sl' => preg_replace('/\s+/', ' ', (string) $request->title_sl), 				'sr' => preg_replace('/\s+/', ' ', (string) $request->title_sr), 			], 			'button_one_title' => [ 				'en' => preg_replace('/\s+/', ' ', (string) $request->button_one_title_en), 				'hr' => preg_replace('/\s+/', ' ', (string) $request->button_one_title_hr), 				'de' => preg_replace('/\s+/', ' ', (string) $request->button_one_title_de), 				'sl' => preg_replace('/\s+/', ' ', (string) $request->button_one_title_sl), 				'sr' => preg_replace('/\s+/', ' ', (string) $request->button_one_title_sr), 			], 			'button_two_title' => [ 				'en' => preg_replace('/\s+/', ' ', (string) $request->button_two_title_en), 				'hr' => preg_replace('/\s+/', ' ', (string) $request->button_two_title_hr), 				'de' => preg_replace('/\s+/', ' ', (string) $request->button_two_title_de), 				'sl' => preg_replace('/\s+/', ' ', (string) $request->button_two_title_sl), 				'sr' => preg_replace('/\s+/', ' ', (string) $request->button_two_title_sr), 			], 			'body' => [ 				'en' => $request->body_en, 				'hr' => $request->body_hr, 				'de' => $request->body_de, 				'sl' => $request->body_sl, 				'sr' => $request->body_sr, 			], 			'url_1' => $request->url_1, 			'url_2' => $request->url_2, 			'show_default' => $request->boolean('show_default'), 			'active' => $request->boolean('active'), 		]);  		$id->storage()->handle($request->media);  		return $this->redirectFromSave('banners.list'); 	}