updates to viewer