Refactor: extract/parameterize common view update method.