update csn setting script