Fix statistic update - int convert