added decrease post count on delete