Add SwitchParent api in actor-devel