Notehub Host Firmware "current version" not updating after successful firmware update

Hello first time poster here. I have been working on using the DFU functionality to give OTA updates to my MCU. I believe that I have implemented this successfully however I am wondering if I have something missing. after the success of the update I am not seeing the current version populate in notehub. see below

Serial monitor output

dfu: successfully transferred offset:790528 len:3744
{"req":"hub.set","mode":"dfu-completed","body":{"agent":"note-arduino","compiler":"gcc 8.4.0","req_interface":"i2c","cpu_name":"esp32"}}
dfu:    MD5 of image: e8485c0987de0f7b33bcab66a2123ce0
dfu: MD5 of download: e8485c0987de0f7b33bcab66a2123ce0
{"status":"successfully downloaded","mode":"ready","on":true}
dfu: restart system
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
mode:DIO, clock div:1
entry 0x400805e4
(⌐▨_▨) Welcome to Malibu!
{"status":"successful firmware update","mode":"completed","on":true}

I am not sure if this is a bug or if I am doing something wrong. any help would be greatly appreciated.

I figure out my issue. It appears reporting the firmware version does not happen in the dfuPoll() function so it must be called in the setup function. i.e.

req = notecard.newRequest("dfu.status");
if (req != NULL) {
  JAddStringToObject(req, "version", firmwareVersion());