Update the media path