update totals formatting