mongoDB refactor indices support