update tree boundary