Update stream example with more documentation