update invites action