Fix main.js requestUpdate type

Typos can be so hard to spot until things mysteriously start exploding.