updated InputManager