Progress updating database.php