adding debug + update tpls