spec modification & templates.metadata