title: Parse Cloud code : How to update table in parse cloud code
body: <p>I want to update parse database table. That means i have 2 table in parse, 1 table is update through my app and 2nd table is update according to 1st table data. for example.</p>
  
  <pre><code>      userId    gamename    gamescore  gameani   
          1         G1        200        100      
          1         G1        600        300     
          2         G2        400        200   
          3         G3        500        430     
  </code></pre>
  
  <p>And i want to 2nd table is this type</p>
  
  <pre><code>userId    G1topscore    G2topscore  G3topscore G1ani G2ani G3ani
     1        600               0          0      200    0      0
     2         0              400          0       0     200    0
     3         0              500          0       0     0     430
  </code></pre>
  
  <p>That means in the second table is update according to first table . In the first table has 1 user are created many row but in the update in second table has are shorting according to the user. score are shorting in the highest score and ANI is calculated in game average. How to update second table in cloud code.</p>