Changed UpdateEvents and put in into InputManager