upgrade for ocframework