diagram plugin updated