     FOREIGN KEY (`experiment`)
     REFERENCES `crowdcontrol`.`Experiment` (`id_experiment`)
     ON DELETE RESTRICT
-    ON UPDATE RESTRICT,
+    ON UPDATE CASCADE,
   CONSTRAINT `workerRated`
     FOREIGN KEY (`worker_id`)
     REFERENCES `crowdcontrol`.`Worker` (`id_worker`)

  CONSTRAINT `idExperimentAnswers`
    FOREIGN KEY (`experiment`)
    REFERENCES `crowdcontrol`.`Experiment` (`id_experiment`)
    ON DELETE CASCADE
    ON UPDATE CASCADE,
  CONSTRAINT `workerAnswered`
    FOREIGN KEY (`worker_id`)

  CONSTRAINT `reservation_rating`
    FOREIGN KEY (`reservation`)
    REFERENCES `crowdcontrol`.`Rating_Reservation` (`id_reserverd_Rating`)
    ON DELETE RESTRICT
    ON UPDATE CASCADE)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8mb4;
