Change the preapproved ajax call