update templating and routing configuration