update invite code