api change update to allow for rootParent
topParent now in api