Added World.update to MainState.