Update dependencies, and fix incompabilities

Some of dependencies seems to be unnecessary, but I didn't removed any.