Implement handleChildrenChange