residual updates for tx_format and rest-api-tool