update total row