Update stream.js