Update depencies, fix deprecations

Tests have been run, and everything seems to be working.