updated stats controller