Update of the code for the hd menu