update ajaxSpec