template editor update