update end time in TW.