updated the graphics