formatting update and add csv responses