modify media field