use dropIndexes command instead of deprecated deleteIndexes