def METHOD_NAME(
    self, user_id, user_key, first_name, last_name, email, password_hash
):
    return (
        self.client.users()
        .update(
            userKey=user_key,
            body={
                "suspended": False,
                "name": {"givenName": first_name, "familyName": last_name},
                "password": password_hash,
                "hashFunction": "crypt",
                "externalIds": [{"type": "account", "value": str(user_id)}],
                "emails": [{"address": email, "type": "other"}],
            },
        )
        .execute()
    )