update a group