update security and settings