Update the code to put the pres and the codes in the right order