How to upgrade the firmware version of Xiaomi Smart Pen via Xiaomi Smart Pen 2nd generation?
In Settings - Stylus and Keyboard - Stylus - Firmware Update, click Detect Updates to check if there is new firmware, if there is an update click Update to upgrade the pen's firmware to the latest version.