updates document view to not display link to pdf