upgrade dependencies, fix spec test