update openflow code before migration