New method to set a child for parent