Updating the graphics.