swap client and group