Update result.class.php