flushed db to make modifications to Corpus model