update security setting