code: def set_updated(self):
          
          # get latest output
          output = []
          for method in self.methods.values():
              data = method["last_output"]
              if isinstance(data, list):
                  if self.testing and data:
                      data[0]["cached_until"] = method.get("cached_until")
                  output.extend(data)
              else:
                  # if the output is not 'valid' then don't add it.
                  if data.get("full_text") or "separator" in data:
                      if self.testing:
                          data["cached_until"] = method.get("cached_until")
                      output.append(data)
          # if changed store and force display update.
          if output != self.last_output:
              # has the modules output become urgent?
              # we only care the update that this happens
              # not any after then.
              urgent = True in [x.get("urgent") for x in output]
              if urgent != self.urgent:
                  self.urgent = urgent
              else:
                  urgent = False
              self.last_output = output
              self._py3_wrapper.notify_update(self.module_full_name, urgent)
docs: Mark the module as updated.
          We check if the actual content has changed and if so we trigger an
          update in py3status.