updating template config for cas