updated CSV export of data and also updated the views for better transparency