update in main