template variable change