Updated dependencies and fixed bugs.