edit the viewer