update adm.php