update stats view