working on indexing and updating ealstic