rewrote translation of categorical edits to mip