changed to update display