Update InviteFactory.java