add the defined route name to the route object