update base.sh