update invitations and members