Fix update stats