implement new media in upload