Fixed Bugs in updating Invitations