updating the display script