Update 'total_earn only on the first record.
Value of 'total_earn can be obtained from adding its original value
and 'each_earn value of the new inserted record.