updated the display