def replace_bibtex_cite_name(bibtex, current_name, new_name):
    """replaces the cite_name in a bibtex file with something else

    :param: string of bibtex to do the replacing on
    :param current_name: current cite name in the bibtex
    :param new_name: name to replace it with
    """

    new_bibtex = bibtex.replace(current_name, new_name, 1)

    return new_bibtex