Upgrade gems

Update gems and remove deprecation errors.