update templates and consul