Update AnalyticsPlugin.cs