update minfile