fixing update for words