Update viewer's ui