update train data