batch processing the events instead of notify change each time