replace the progressbar