update media path