update template registry twice on coin change; just debugging.