making changes for security groups