add Lucene methods
update resource