Add event.DispatchUpdate() to update and dispatch an event in one go.