updating row totals - WIP