updated thx.core API