<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update(self, pbar):
 """ Handle progress bar updates @type pbar: ProgressBar @rtype: str """

        if pbar.label != self._label:
            self.label = pbar.label

        return self.label