added progress bar for update