working updateprogress