finish update.php