def update_options(authority_id, options):
    """
    Update an authority with new options.

    :param authority_id:
    :param options: the new options to be saved into the authority
    :return:
    """

    authority = get(authority_id)

    authority.options = options

    return database.update(authority)

    Update an authority with new options.

    :param authority_id:
    :param options: the new options to be saved into the authority
    :return:
    
lemur/authorities/service.py