update the encoding for experiments