modify config for ime.