Privacy change hostname failed

hello by following this tutorial to change my sys-net hostname, after I check if it has changed or not via echo $HOSTNAME , I see that it does not change, ourriew can you tell me the reason? and also I see that line send host -name = gethostname, and back even if I uncomment it, on several occasions, also restart after or without restart it does not want to change,

thank you