add parent_id field to items entity object