Update dependencies, fixes #1844