update media and pdf viewer