fixed update.php