Script for statistics data update