update encoding.hex