updates examine local storage logic for when there are no indexes and they need to be created