add/update interval tree