Update ACMainLoop.c