updated ReferenceViewer