update class Invitation