How do I update Di2 firmware?

You will need the Shimano e-tube project software to upgrade firmware. Keep an eye on their firmware update page and whenever they release new firmware for your components simply connect your bike to a windows computer and run the e-tube project to start updating.