def update(self, pbar):
        '''Updates the widget.

        pbar - a reference to the calling ProgressBar
        '''
Updates the widget.

        pbar - a reference to the calling ProgressBar
        
metadrive/render_pipeline/rplibs/progressbar/widgets.py