dynamically updating analytics working