data type ajax changes