modify mi file