updating LoadIndex to use EmbeddedClient