update user keyboard input