updating analytics