fixed variable in update.php