Update ajax syntax