title: How to Update the Value of Vertex in Gremlin Server ( Titan 1.0)
body: <p>I'm having a vertex with following details:</p>
  
  <blockquote>
    <p><a href="http://localhost:8182/?gremlin=g.V(4192)" rel="noreferrer">http://localhost:8182/?gremlin=g.V(4192)</a></p>
  </blockquote>
  
  <pre><code>{
  
  "requestId": "6ce01f3b-f623-41f6-bb03-dd56014e0701",
  "status": 
  
  {
  
  "message": "",
  "code": ​200,
  "attributes": { }
  
  },
  "result": 
  {
  
  "data": 
  
  [
  
  {
  
  "id": ​4192,
  "label": "person",
  "type": "vertex",
  "properties": 
  
  {
  
  "name": 
  
  [
  
  {
      "id": "170-38g-sl",
      "value": "marko2"
  }
  
  ],
  "age": 
  [
  
                      {
                          "id": "1l8-38g-28lh",
                          "value": ​29
                      }
                  ]
              }
          }
      ],
      "meta": { }
  }
  
  }
  </code></pre>
  
  <p>I want to update the Name of the vertex : </p>
  
  <p>I tried following query :</p>
  
  <blockquote>
    <p>g.V(4192).setProperty('name','William')</p>
  </blockquote>
  
  <p>But it is not updating , it is giving error </p>
  
  <pre><code>{
  
   "message": "Error encountered evaluating script: g.V(4192).setProperty('name','William')"
  
  }
  </code></pre>