update lt function