upgrade analytics plugin