We fixed the calculation of the sum in update_sum() using the new pant values and stuff.