code: func (b *bgpManager) update() {
  	ncc := b.engine.ncc
  	if err := ncc.Dial(); err != nil {
  		log.Warningf("BGP manager failed to connect to NCC: %v", err)
  		return
  	}
  	defer ncc.Close()
  
  	neighbors, err := ncc.BGPNeighbors()
  	if err != nil {
  		log.Warningf("Failed to get BGP neighbors: %v", err)
  		return
  	}
  	b.lock.Lock()
  	b.neighbors = neighbors
  	b.lock.Unlock()
  }
docs: // update updates BGP related state and statistics from the BGP daemon.