Update Reference for template