refreshing index on new doc create