title: inserting the new json data in the already existing json list
body: <p>am trying to insert the json data into another json data list data using update function</p>
  
  <p>datasets: </p>
  
  <pre><code>data = {'name':{'first' : 'xx', 'last': 'yy'}, 'class': {'standard': '5', 'section': '6'}}   
  
  maindata = [{'school': {'govt':{ 'value':'public1', 'item':'zphs1'}, 'convent':{'value':'private1','item':'HPS1'}}}, 
              {'school': {'govt':{ 'value':'public2', 'item':'zphs2'}, 'convent':{'value':'private2','item':'HPS2'}}}]
  </code></pre>
  
  <p>Trying to fit in the data into main data after the tag, 'school'</p>
  
  <p>expected output: </p>
  
  <pre><code>maindata = [{'school': {'govt':{ 'value':'public1', 'item':'zphs1'}, 'convent':{'value':'private1','item':'HPS1'}, 'name':{'first' : 'xx', 'last': 'yy'}, 'class': {'standard': '5', 'section': '6'}}}, 
              {'school': {'govt':{ 'value':'public2', 'item':'zphs2'}, 'convent':{'value':'private2','item':'HPS2'},'name':{'first' : 'xx', 'last': 'yy'}, 'class': {'standard': '5', 'section': '6'}}}]
  </code></pre>
  
  <p>code used:</p>
  
  <pre><code>for i in maindata:
  i['school'].update(data)
  </code></pre>
  
  <p>which returns None</p>