Update train.py