add parent child relation