Update trainingform.php