Updated dependencies. Fixed most deprecations