Fixed #71. update_invite to accept_invite; fixed action required.

This fix includes (1) rename the function and (2) remove the mistaken code introduced for ticket #68.
Merge pull request #72 from yeukhon/invite

Fixed #71. update_invite to accept_invite; fixed action required.