Change the API route