Fix a bug in the event upgrader. Update latest nuget packages.