Update document viewer template