Upgrade dependencies, fix #3