Last minot udpate in main program