def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def update_join():
  update_on()
  try:
    _thread.join()
  except:
    update_off()