update corpus: multiple scripts to handle upload/search/modification