update to csv output