update configs and build.sh