update InvitePeople API

need one more parameter in the InvitePeople API.