docs: function(collection, preventUpdate) {
        this.stopListening(this.collection, 'remove', removeItemView);
        this.stopListening(this.collection, 'add', addItemView);
        this.stopListening(this.collection, 'sort', this.reorder);
        this.stopListening(this.collection, 'reset', this.update);
  
        this.collection = collection;
  
        this.listenTo(this.collection, 'remove', removeItemView);
        this.listenTo(this.collection, 'add', addItemView);
        this.listenTo(this.collection, 'sort', this.reorder);
        this.listenTo(this.collection, 'reset', this.update);
  
        if (!preventUpdate) {
          this.update();
        }
      }