update dependencies and build script.