Update gems
Fix deprecation warnings.