update viewoptions