progressbar API update