Updated database to return type with games list