upgrade stdout-stream and connections