code: def zone_update(cls, zone_id, records):
          
          cls.echo('Creating new zone file')
          new_version_id = Zone.new(zone_id)
  
          cls.echo('Updating zone records')
          cls.call('domain.zone.record.set', zone_id, new_version_id, records)
  
          cls.echo('Activation of new zone version')
          Zone.set(zone_id, new_version_id)
  
          return new_version_id
docs: Update records for a zone