update view templates