updates for main