updates totals when fields are removed