When the source gets updated, update the pane object

def source(self, source):
        """When the source gets updated, update the pane object"""
        BaseView.source.fset(self, source)
        if self.main_pane:
            self.main_pane.object = self.contents
            self.label_pane.object = self.label