updated mimetype selection