#UPDATE: Update the event-normalizing function