update OFPMatch encode