updating training file