updating database.php