updated stream to v 1.1 api