update rtree.c