code: def update(self, percent=None, text=None):
          
          if percent is not None:
              self.percent = percent
          if text is not None:
              self.message = text
          super().update()
docs: Update the progress bar percentage and message.