add automatic firmware version check and firmware update
add automatic firmware version check and firmware update functionality