code: def update_record(self, name, address, ttl=60):
          
          record_id = self._get_record(name)
          if record_id is None:
              return self._create_record(name, address, ttl)
          return self._update_record(record_id, name, address, ttl)
docs: Updates a record, creating it if not exists.