     FOREIGN KEY (`CONTRACT_Id_Contract` )
     REFERENCES `TGSI_CONTRACT` (`Id_Contract` )
     ON DELETE CASCADE
-    ON UPDATE NO ACTION
+    ON UPDATE CASCADE
 ) 
 ENGINE=InnoDB 
 DEFAULT CHARSET=utf8 

  CONSTRAINT `FK_TGSI_CONTRACT_OPTION_ELEMENT_TGSI_CONTRACT`
    FOREIGN KEY (`CONTRACT_Id_Contract` )
    REFERENCES `TGSI_CONTRACT` (`Id_Contract` )
    ON DELETE NO ACTION
    ON UPDATE NO ACTION,
  CONSTRAINT `FK_TGSI_CONTRACT_OPTION_ELEMENT_TGSI_OPTION_ELEMENT`
    FOREIGN KEY (`OPTION_ELEMENT_Id_Option_Element` )
    REFERENCES `TGSI_OPTION_ELEMENT` (`Id_Option_Element` )
    ON DELETE NO ACTION
    ON UPDATE NO ACTION)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8
COLLATE = utf8_general_ci;

  CONSTRAINT `FK_TGSI_CONTRACT_REFERENTIAL_TGSI_CONTRACT`
    FOREIGN KEY (`CONTRACT_Id_Contract` )
    REFERENCES `TGSI_CONTRACT` (`Id_Contract` )
    ON DELETE CASCADE
    ON UPDATE CASCADE,
  CONSTRAINT `FK_TGSI_CONTRACT_REFERENTIAL_TGSI_REFERENTIAL`
    FOREIGN KEY (`REFERENTIAL_Id_Referential` )
    REFERENCES `TGSI_REFERENTIAL` (`Id_Referential` )
