Update mac.php