modify how events are persisted to the store