update stats regularly