updated the views and method for handling csv extract