update global-main