some progress on updating tei