connect_update_security_profile function

Updates a security profile