Updates stats script