Updates grapher code