def METHOD_NAME(self, identifier, rtype=None, name=None, content=None):
    # Try to find record if no identifier was specified
    if not identifier:
        identifier = self._find_record_identifier(rtype, name, None)
    data = {}
    if rtype:
        data["type"] = rtype
    if name:
        data["name"] = self._relative_name(name)
    if content:
        data["content"] = content
    if self._get_lexicon_option("ttl"):
        data["ttl"] = self._get_lexicon_option("ttl")
    payload = self._put(f"/zones/{self.domain_id}/records/{identifier}", data)
    LOGGER.debug("update_record: %s", payload)
    return payload