Adding support to update the progress bar based on the components changes by the user.