update the build script