Update ex2.php