Update alaytics code