Improved error handling and reporting for ____update.php scripts.