update tnt and pojo