update to ts