Added tracking of added, deleted, updated totals