changed invite to pending