modify upgrade.php of modules