public function update(StoreUser $request, Admin $id): RedirectResponse 	{ 		$id = $id->authParent;  		$this->validate($request, [ 			'email' => ['required', 'max:50', 'email', 'unique:' . $id::class . ',email,' . $id->getKey()], 		]);  		$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 = $id->user;  		$id->adminDomains()->delete();  		foreach (($request->domains ?? []) as $domain_id) { 			$id->adminDomains()->create([ 				'domain_id' => $domain_id, 			]); 		}  		$id->update([ 			'active_domain_id' => $id->domains()->first()?->getKey(), 		]);  		return $this->redirectFromSave('users.list'); 	}