update dialog progressbar