Update behavior of KeyboardEvent