update analytics plugin