toggle memberships