Update tsm to the latest, leak-free (hopefully) version