added progress bar update