update for templates code