Fixed statistics update.