refresh search index on document update