updates viewer_options