change wordtype codes