update ham/ham.php