refresh the index