added db to index