Update TDBTool.sh