update bvgraph.h