tweaked the modify.php