add diagram images