updated text viewer