update media doc