change activity_id to parent_id, edit activity UI