Update ajax script