 
 (defn make-config-group
   [& {:keys [version groups values poilices mod-policy]}]
-  (map->ConfigUpdate {:version version :groups groups :values values
-                      :poilices poilices :mod-policy mod-policy}))
+  (map->ConfigGroup {:version version :groups groups :values values
+                     :poilices poilices :mod-policy mod-policy}))
 
 (defrecord ConfigUpdate [channel-id read-set write-set type isolated-data]
   ICljToProto

  [& {:keys [signature-header signature]}]
  (map->ConfigSignature {:signature-header signature-header :signature signature}))


(defrecord ConfigGroup [version groups values policies mod-policy]
  ICljToProto

           io.grpc.stub.StreamObserver
           io.netty.handler.ssl.SslProvider
           io.netty.handler.ssl.util.InsecureTrustManagerFactory
           [org.hyperledger.fabric.protos.common Common$Block Common$BlockData Common$BlockHeader Common$BlockMetadata Common$ChannelHeader Common$Envelope Common$Header Common$HeaderType Common$Payload Common$SignatureHeader Configtx$ConfigGroup Configtx$ConfigPolicy Configtx$ConfigSignature Configtx$ConfigUpdate Configtx$ConfigUpdateEnvelope Configtx$ConfigValue Ledger$BlockchainInfo Policies$Policy]
           org.hyperledger.fabric.protos.msp.Identities$SerializedIdentity
           [org.hyperledger.fabric.protos.peer Chaincode$ChaincodeDeploymentSpec Chaincode$ChaincodeDeploymentSpec$ExecutionEnvironment Chaincode$ChaincodeID Chaincode$ChaincodeInput Chaincode$ChaincodeInvocationSpec Chaincode$ChaincodeSpec Chaincode$ChaincodeSpec$Type EndorserGrpc ProposalPackage$ChaincodeHeaderExtension ProposalPackage$ChaincodeProposalPayload ProposalPackage$Proposal ProposalPackage$SignedProposal Query$ChaincodeInfo Query$ChaincodeQueryResponse Query$ChannelInfo Query$ChannelQueryResponse TransactionPackage$ProcessedTransaction]))

