master
updateUser
public function updateUser(User $user, string $name, string $email, string|null $password, bool $isAdmin): User