update tool.sh