Update trainng set