Modify security config