update script to fix T2 date problem