updated tmhmm