edit by mingling for index change