add update_display to onload event handler