update the ajax call.