title: Update data of array json
body: <p>MyTable</p>
  
  <pre>
  
  id |  data
  ___________
  1  |[{"Session1": "", "DeviceId1": ""}, {"Session2": "", "DeviceId2": ""}]
  </pre>
  
  <p>I want update data and set Session1 equal to xxx and DevicceId1 eaqual to yyy</p>
  
  <p>I write this query but this not worked</p>
  
  <pre><code>update MyTable data=jsonb_set(data, '{Session1}', 'xxx',true)
  </code></pre>
  
  <p>How can update value of array of json in PostgreSQL?</p>