edit ts code