update ref to TL version
remove obsolete code