updated statistics gem.