Add basic JavaScript to send request to update.php and interpret output