public function update(StoreClient $request, Client $id): RedirectResponse 	{ 		$id->update([ 			'domain_id' => $request->domain_id, 			'address' => $request->address, 			'vat_number' => $request->vat_number, 			'contact_first_name' => $request->contact_first_name, 			'contact_last_name' => $request->contact_last_name, 			'contact_phone_number' => $request->contact_phone_number, 			'industry_id' => $request->industry_id, 			'core_business' => $request->core_business, 			'company_size' => $request->enum('company_size', CompanySize::class), 			'admin_note' => $request->admin_note, 			'company_type' => $request->enum('company_type', CompanyTypes::class), 			'default_language' => $request->enum('default_language', DomainLanguages::class), 		]);  		$id = $id->authParent;  		$this->validate($request, [ 			'email' => ['required', 'max:50', 'email', 'unique:' . $id::class . ',email,' . $id->getKey()], 		]);  		$wasUserActive = $id->active;  		$id->update([ 			'name' => $request->name, 			'email' => $request->email, 			'active' => $request->boolean('active'), 			'allow_push_notifications' => $request->boolean('allow_push_notifications'), 			'timezone' => $request->timezone, 			'locale' => $request->locale, 			'role_id' => $request->role_id, 			'email_verified_at' => $request->boolean('verified') ? formatTimestamp($id->email_verified_at) : null, 		]);  		if ($request->password) { 			$id->update([ 				'password' => $request->password, 			]); 		}  		$id->storage()->handle($request->media);  		$id->user->handleAccountActivationMail($wasUserActive, $id->active);  		return $this->redirectFromSave('clients.list'); 	}