define(function(require) {
    var Hub = require('streamhub-sdk');
    var View = require('streamhub-wall');

    return function(el) {
        var streams = Hub.StreamManager.create.livefyreStreams({
            network: "labs-t402.fyre.co",
            environment: "t402.livefyre.com",
            siteId: "303827",
            articleId: 'sh_col_51_1366914813'
        });
        var view = new View({el: el});
        
        streams.bind(view).start();
         
        return view;
    };
});
@@ -28,19 +28,26 @@
     var 
-Hub
+Collection
  = requi
@@ -63,16 +63,27 @@
 mhub-sdk
+/collection
 ');%0A    
@@ -163,58 +163,35 @@
 var 
-streams = Hub.StreamManager.create.livefyreStreams
+collection = new Collection
 (%7B%0A 
@@ -425,33 +425,28 @@
     
-streams.bind(view).start(
+collection.pipe(view
 );%0A 
@@ -485,8 +485,9 @@
   %7D;%0A%7D);
+%0A

Update example for sdk 2