update vp_tree_const, passing vp_tree struct as argument