Update middleware examples.