Yes you can update the existing index
# existing_index
index_dev_docs = GPTVectorStoreIndex.from_documents(dev_docs, service_context=service_context)
# new data
new_docs = SimpleDirectoryReader(NEW_DOCS_PATH).load_data()
# Add to existing index
for docs in new_docs:
index_dev_docs.insert(docs)
# persist updated index
index_dev_docs.storage_context.persist()
#NOTE: Update query_engine instanc
query_engine = index_dev_docs.as_query_engine()
Add this in your code, every time you will add new file it will be added to your index and persisted as well