Update word type