add config database and key_primary information shem