Change to update_sentences (now update_corpus) in api\AI\ai_module.py

update_corpus now solely handles updating the corpus from a list of
dictionaries.