changed the ajax call