fix view update template