Update tracking of adding and deleting records