update for new csv api