The usual game is to call first and confirm there is space available for upgrade, have a few alternatives to hand if possible
While on the call complete the final stage of the booking and pass the agent the PNR, upgrade should be processed there and then.
Profit...