update update.php and index.php