Update Tools.class.php