update totals in h2