def success_guess(guessed, replace, origin):
    """
    print success guess message and update the guessed correct answer
    :param guessed: the guessed correct answer
    :param replace: the just corrected character
    :param origin: the answer
    :return: the updated guessed correct answer
    """
    temp = ''
    for i in range(len(origin)):        # update display string
        if origin[i] == replace:
            temp += replace
        else:
            temp += guessed[i]
    print('You are correct!')
    return temp