update global progress bar