changes on offlinetraining