Update security setting