Update transition and custom code diagram.