decrease the count and place in the bag any successors of the removed object whose count has become zero

update(succ,obj,&bag,count);