title: how get the data from hyperledgerfabric ledger and update
body: <pre><code>package main
  
  import (
  
      "fmt"
      "encoding/json"
      "strconv"
      "github.com/hyperledger/fabric/core/chaincode/shim"
      pb "github.com/hyperledger/fabric/protos/peer"
  )
  
  // ============================================================================================================================
  // write() - genric write variable into ledger
  //
  // Shows Off PutState() - writting a key/value into the ledger
  //
  // Inputs - Array of strings
  //    0   ,    1
  //   key  ,  value
  //  "abc" , "test"
  // ============================================================================================================================
  func write(stub shim.ChaincodeStubInterface, args []string) pb.Response {
      var value,key string
      var err error
      var keys  = 1
  </code></pre>
  
  <p>The following is my write method in hyperledger fabric i have assigned the keys = 1 </p>
  
  <p>2) Always  my method is making the keys = 1 so i should get the key from fabric and assign it to keys variable can anyone help me with this ISSUE or  provide any documention how to do that </p>