update for route and config