update utf8 bytes pattern