updata mcmcdb_init method