Change endpoint to the new one