Updating the graphics inside a loop

I have a program with the pick command inside a DO loop then the program does various commands and returns back to the pick point however the graphics are not updating until the DO loop is finished. Is there a way to refresh this or something, or any other ideas

Currently :

DO

var !p pick

change item1

change item2

enddo

items updated in graphics window

Desired

DO

var !p pick

change item1

item 1 updated in graphics window

change item 2

item 2 updated in graphics window

etc

enddo