change data index for documents