update main.optimized