update traineddata