update config, init db with toml config