 
   _onRemixerLinkChanged: (remixer, newlink) =>
     @trigger 'ShellEditor:ShellsUpdated'
+
+
+  _onShellsUpdated: =>
+    @_renderUpdates()
+
+    if @options.expandOnUpdate
+      @expand()


  defaults: => _.extend super,
    minimize: false


  template: _.template '''

    if @options.minimize
      @minimize()

    @on 'ShellEditor:ShellsUpdated', @_onShellsUpdated


  _initializeModel: =>
