update add word frequency