Update ex6.php