Update diagram image and text