Updated event structure in Express application