If you upgrade from an old version you might need to update using USB.
There was a critical change to the Arduino core about 11 month ago, which breaks the webpage update (Updated partition table).
Otherwise you can use the webpage to upload the new firmware.
Make sure to first update the firmware and then update the SPIFFS if you are flashing with the webinterface for the first time!