FRIB (Facility for Rare Isotope Beams) is a heavy ion linac facility under construction, which has various specific features in its beam dynamics design to achieve the world highest beam power for heavy ion linacs. It is a challenge to develop an online model which covers all those specific features and satisfies the requirement for execution speed at the same time. An online model named TLM (Thin Lens Model) is under active development at FRIB to address its all major beam dynamics issues. This paper describes the latest status of TLM code, the infrastructure to integrate the TLM into FRIB beam commissioning environment.