Update count on delete