update viewing model