Fixed bug with update not catching keyboard input