update analytics tracking