update tree build