def METHOD_NAME(self, identifier=None, rtype=None, name=None, content=None):
    if not identifier:
        records = self.list_records(rtype, name)
        if len(records) == 1:
            identifier = records[0]["id"]
        else:
            raise Exception("Record identifier could not be found.")
    record = {"id": identifier}
    if rtype:
        record["type"] = rtype
    if name:
        record["host"] = self._relative_name(name)
    if content:
        record["data"] = content
    if self._get_lexicon_option("ttl"):
        record["ttl"] = self._get_lexicon_option("ttl")
    self.sl_dns.edit_record(record)
    LOGGER.debug("update_record: %s", record)
    return True