Update word.java