def METHOD_NAME(self, identifier, rtype=None, name=None, content=None):
    if identifier is None:
        records = self.list_records(rtype, name)
        if len(records) == 1:
            identifier = records[0]["id"]
        elif len(records) < 1:
            raise Exception(
                "No records found matching type and name - won't update"
            )
        else:
            raise Exception(
                "Multiple records found matching type and name - won't update"
            )
    data = {}
    if name:
        data["name"] = name
    if rtype:
        data["type"] = rtype
    if self._get_lexicon_option("ttl"):
        data["ttl"] = self._get_lexicon_option("ttl")
    if content:
        if rtype == "TXT":
            content = '"' + content + '"'
        tmp = content
        content = []
        content.append(tmp)
        data["records"] = content
    self._put(f"/zones/{self.domain_id}/recordsets/{identifier}", data)
    LOGGER.debug("update_record: %s", True)
    return True