if p is invited, update p to active