fix multiple file extension in media type admin setting
update template