Overwriting code

I loaded a esp32 with a simple sketch that worked as planed, for learning the new Blynk2.0.
Now I made a new sketch with a new template and Device name, when I recompile the same chip it seems to load properly using the Arduino IDE. But it keeps the old Template and Blkyn Device Name even though the new code states a different ID.

You need to upload code from ide by selecting the option sketch + flash.