updated progress bar control