* updated ajax methods.