Safer approach to updating the stats