Update tool.inc.php