diff --git a/examples/porenetwork_upscaling/doc/main.md b/examples/porenetwork_upscaling/doc/main.md
index 14341ee33030e40c55f115c969777e576ec4d3d2..56f972333f6d1416b4803ed2185b907e47f96089 100644
--- a/examples/porenetwork_upscaling/doc/main.md
+++ b/examples/porenetwork_upscaling/doc/main.md
@@ -44,8 +44,8 @@ Pore-Network-Model to evaluate the upscaled Darcy permeability of a given networ
 #include <dumux/io/grid/gridmanager_yasp.hh>
 
 #include <dumux/io/grid/porenetwork/gridmanager.hh> // for pore-network grid
-#include <dumux/porenetworkflow/common/pnmvtkoutputmodule.hh>
-#include <dumux/porenetworkflow/common/boundaryflux.hh> // for getting the total mass flux leaving the network
+#include <dumux/porenetwork/common/pnmvtkoutputmodule.hh>
+#include <dumux/porenetwork/common/boundaryflux.hh> // for getting the total mass flux leaving the network
 
 #include "upscalinghelper.hh"
 #include "properties.hh"
@@ -245,3 +245,4 @@ catch (const Dune::Exception &e)
 
 | [:arrow_left: Back to the main documentation](../README.md) | [:arrow_left: Go back to part 1](problem.md) | [:arrow_right: Continue with part 3](upscalinghelper.md) |
 |---|---|---:|
+
diff --git a/examples/porenetwork_upscaling/doc/problem.md b/examples/porenetwork_upscaling/doc/problem.md
index 02edb76ebb457ab224b9007827d733e59b77682a..34683607da503c0668c46269b51f22f0f8e90fb0 100644
--- a/examples/porenetwork_upscaling/doc/problem.md
+++ b/examples/porenetwork_upscaling/doc/problem.md
@@ -23,7 +23,7 @@ which we specialize a number of compile-time `properties`.
 
 ```cpp
 
-#include <dune/grid/yaspgrid.hh> // for `Dune::YaspGrid`
+#include <dune/foamgrid/foamgrid.hh> // for `Dune::FoamGrid`
 ```
 
 The `OneP` type tag specializes most of the `properties` required for single-
@@ -32,7 +32,7 @@ respective properties, and subsequently specialize those properties for our
 type tag, which we want to modify or for which no meaningful default can be set.
 
 ```cpp
-#include <dumux/porenetworkflow/1p/model.hh>// for `TTag::PNMOneP`
+#include <dumux/porenetwork/1p/model.hh>// for `TTag::PNMOneP`
 ```
 
 The local residual for incompressible flow is included.
diff --git a/examples/porenetwork_upscaling/doc/upscalinghelper.md b/examples/porenetwork_upscaling/doc/upscalinghelper.md
index 6662194154583c213dd61771b68215371aa3a862..d5ce31fcded2e90668990ce56e8101ad67eb4911 100644
--- a/examples/porenetwork_upscaling/doc/upscalinghelper.md
+++ b/examples/porenetwork_upscaling/doc/upscalinghelper.md
@@ -37,6 +37,11 @@ the pore network in flow direction in order to find the upscaled Darcy permeabil
 
 
 ```cpp
+#include <iostream>
+#include <ostream>
+#include <iomanip>
+#include <numeric>
+#include <functional>
 
 namespace Dumux {