Update dependencies and fix flake