update progress.