title: Postgres: Update JSON Array and remove element matched with key
body: <p>Given the table below</p>
  
  <pre><code>drop table if exists documents;
  create table documents(docu_id text, attachments jsonb);
  insert into documents values
  ('001', 
  '[{"province":"test province","city":"test city","barangay":"test barangay,"street":"test ST"},
   {"province":"test province 2","city":"test city 2","barangay":"test barangay 2","street":"test street 2"}]'
  ),
  
  ('002', 
  '[{"province":"test province 2 1":"VALENZUELA CITY","test barangay 2 1":"test barangay 2 1","street":"test street 2 1"},
   {"province":"test province 2 2","city":"test city 2 2","barangay":"test barangay 2 2","street":"test strett 2 2"}]'
  );
  </code></pre>
  
  <p>How can i update json array matching street key word: test ST </p>
  
  <p>expected output</p>
  
  <pre><code>[{"province":"test province 2","city":"test city 2","barangay":"test barangay 2","street":"test street 2"}]
  
  [{"province":"test province 2 1":"VALENZUELA CITY","test barangay 2 1":"test barangay 2 1","street":"test street 2 1"},
       {"province":"test province 2 2","city":"test city 2 2","barangay":"test barangay 2 2","street":"test strett 2 2"}]
  </code></pre>