Update TS file