updated triangle graph