update DataManager.