def update(input_ch, answer, dashed):
    """
    This function update the progress when users make a right guess (string manipulation)
    :param input_ch: str, an alphabet users enter in this round
    :param answer: str, the final answer
    :param dashed: str, the dashed answer
    :return decrypted: str, the updated progress
    """
    # Create an empty string
    decrypted = ''
    for i in range(len(answer)):
        # Find the position of character users guess right and update it
        if answer[i] == input_ch:
            decrypted += input_ch
        else:
            # Remain the part users already solved, and fill the unsolved part with dash sign
            if dashed[i] != '-':
                decrypted += dashed[i]
            else:
                decrypted += '-'
    return decrypted