added stats update