update to work with viewer 1.7.0