added alter training, updated record_training