update tree position from tree itself