As soon as you book to the day of.
I booked with miles for upgrade and a few times have been upgraded as late as the day of.
Just make sure when it clears that they delete your existing reservation seats. I had gone to print my boarding pass at LAX a few times and even though I was upgraded to 1B I still had 21C active.