Update templateview.coffee