correctly check for update/go to bootloader. thanks to frank!