try to minimize memory usage during event updates