Updates to dynamic programming diagrams.