Update child count on block parent switching