updating analytics codes