update progress bar and alert to make use of options configuration instead of parameters