Update word.cpp