Update class Database

Support multiple database