export data into csv
update style according to the feedback