update tc script