code: function (capture) {
        var self = this;
        self.clear();
        self.capture = capture;
        self.capture_idx = index_capture(capture);
        self.render();      
      }
docs: update with new capture data and re-render