update circuit diagram