changed the layout of the ajax call