Update btcApi.c