fix multiple thread updateEventRange bug