updated the csv export. Integrated api changes.