update config and build script