updated template and metadata