public function update(StoreFilter $request, Filter $id): RedirectResponse 	{ 		$id->update([ 			'name' => [ 				'en' => preg_replace('/\s+/', ' ', (string) $request->name_en), 				'hr' => preg_replace('/\s+/', ' ', (string) $request->name_hr), 				'de' => preg_replace('/\s+/', ' ', (string) $request->name_de), 				'sl' => preg_replace('/\s+/', ' ', (string) $request->name_sl), 				'sr' => preg_replace('/\s+/', ' ', (string) $request->name_sr), 			], 			'display_label' => [ 				'en' => preg_replace('/\s+/', ' ', (string) $request->display_label_en), 				'hr' => preg_replace('/\s+/', ' ', (string) $request->display_label_hr), 				'de' => preg_replace('/\s+/', ' ', (string) $request->display_label_de), 				'sl' => preg_replace('/\s+/', ' ', (string) $request->display_label_sl), 				'sr' => preg_replace('/\s+/', ' ', (string) $request->display_label_sr), 			], 			'type' => $request->enum('type', FilterType::class), 			'min' => $request->min, 			'max' => $request->max, 			'step' => $request->step, 			'dropdown_values' => $request->dropdown_values, 			'required' => $request->boolean('required'), 			'active' => $request->boolean('active'), 		]);  		return $this->redirectFromSave('filters.list'); 	}