Update ajax and validator