using verold supplied update event handler for main game loop