Updated dependencies and refactored out deprecations.
lint error unused var