update the word