added a timer to game engine and update manager