updating for the new version of magicmime