adapt lican code to the new routes
adapt to the new outline id