updates CC and CCX env variables