Updated database.php file