Update and delete contact groups.