code: def _update_record(self, identifier, rtype=None, name=None, content=None):
          
          record = {}
  
          if not identifier:
              records = self._list_records(rtype, name, content)
              identifiers = [r["id"] for r in records]
          else:
              identifiers = [identifier]
  
          if name:
              record["name"] = self._relative_name(name)
          if content:
              record["content"] = content
          if self._get_lexicon_option('ttl'):
              record["ttl"] = self._get_lexicon_option('ttl')
          if self._get_lexicon_option('priority'):
              record["prio"] = self._get_lexicon_option('priority')
  
          LOGGER.debug("update_records: %s", identifiers)
  
          for record_id in identifiers:
              self._put(
                  "/v1/domains/{0}/records/{1}".format(
                      self.domain, identifier
                  ),
                  record,
              )
              LOGGER.debug("update_record: %s", record_id)
  
          LOGGER.debug("update_record: %s", True)
          return True
docs: Create or update a record.