update viewer page