resourceexplorer_update_index_type function

Changes the type of the index from one of the following types to the other