code: def _update_record(self, identifier, rtype=None, name=None, content=None):
          
          if identifier is not None:
              if name is not None:
                  records = self._list_records_internal(identifier=identifier)
                  if len(records) == 1 and records[0]['name'] != self._full_name(name):
                      # API does not allow us to update name directly
                      self._update_record_with_name(
                          records[0], rtype, name, content)
                  else:
                      self._update_record_with_id(identifier, rtype, content)
              else:
                  self._update_record_with_id(identifier, rtype, content)
          else:
              guessed_record = self._guess_record(rtype, name)
              self._update_record_with_id(guessed_record['id'], rtype, content)
          return True
docs: Updates a record. Name changes are allowed, but the record identifier will change