stream: [stdout/stderr] add and update example