Update task5 - analytics