update dependencies and fix deprecations