update media type in admin