def METHOD_NAME(self, update=False, force=False):
    if not force:
        existing = Store.hget(self.primary_key, self.name)
        if existing and not update:
            raise RuntimeError(
                f"{self.primary_key}:{self.name} already exists at create"
            )
        if not existing and update:
            raise RuntimeError(
                f"{self.primary_key}:{self.name} doesn't exist at update"
            )
    self.updated_at = time.time() * 1_000_000_000
    Store.hset(self.primary_key, self.name, json.dumps(self.as_json()))