modify hex data