update word controller