remove the media and change the configuration