Updatet the graphics