Update code statistics.