code: def update_alarm(self, entity, alarm, criteria=None, disabled=False,
              label=None, name=None, metadata=None):
          
          return entity.update_alarm(alarm, criteria=criteria, disabled=disabled,
              label=label, name=name, metadata=metadata)
docs: Updates an existing alarm on the given entity.