update view template