Update media.txt file