update YSViewer