updated how progress bar progresses