Update main_train.m