add parent_id mapping