[COOK-3234] allow templates to be updated after the service has been enabled

Also, a minor addition to allow custom variables in the log & finish templates