Use the engine's Update method instead of a for loop.