Update upgrade.php

Avoid regular users or visitors to run upgrade.php and waste resources