lib/asset/htracr-ui.js
function (capture) {
      var self = this;
      self.clear();
      self.capture = capture;
      self.capture_idx = index_capture(capture);
      self.render();      
    }
function (capture) {
      var self = this;
      self.clear();
      self.capture = capture;
      self.capture_idx = index_capture(capture);
      self.render();      
    }
update with new capture data and re-render