updating for simplegui