title: How do I insert data while updating?
body: <p>There are two tables called table1 and table2</p>
  
  <p>both table has got same index. when updating table1 and table2 if table2 hasnt got a data and table1 has got the same then it should insert that data to table2. so that both tables got the data and is updated. how can I do this??</p>