Add after delete hooks for records and id maps