record parent id in child object