Added TPTMP API, hopefully fixed update error