update csv_export for new instance api output