updated progress bar variables