update analytics.