Update method checkWord