added progressbar however not updating