Update script and build script