add index of doc