Update dependencies and build script