Optimized game loop update tasks.