updates
KD tree updates