Updated ID handle part of the diagram elements.