updating analytics tracking