* Delay updateIndex until database is ready.