update the lucene index