Update and rename cas.cnf to cas.cnf.tmp