Update gems to latest versions.
Remove the statistic2 gem, as it isn't used anywhere.