Updated database.php