How to edit Security Group in Contacts?

Because when I changed assigned to the contact in the original group was still there