update stats first