added cord sqlite db io of index