Updated string to hex