Fixed update.php, used the wrong function to get user input.