Add parent_id to view