save mod changes