update hex-string implementations