HM/TJ: use updateDocument on IndexWriter instead of addDocument