updating progressbar view