Teng lib update