update octree and examples