update query Manager, cmake, kdtree