update security settings