change url on ajax request