Update word dictionary