update security group with ports