update main min