Updates ordering structure