updated stream template