update viewer