add parent_id and parent_class_name