update search indexes automatically when pages are saved