upgrading templates for consul v5