clean no used code
remove update bootloader from C code