Change invite logic.