added update database.php