Update tools.php