Upgrade libraries

These upgrades should also fix the current test failures