pass source/target words to def update_count