Ok, but where do you call update() to actually update the UI?