def METHOD_NAME(session, tid, user_session, request, language):
    """
    Transaction for updating an existing user
    :param session: An ORM session
    :param tid: A tenant ID
    :param user_session: A session of the user invoking the transaction
    :param request: A user request data
    :param language: A language to be used when serializing the user
    :return: A serialization of user model
    """
    user = db_user_update_user(session, tid, user_session, request)
    return user_serialize_user(session, user, language)