Renames the API routes