update word_count