update gems and fix deprecations