edit viewer