update database.php