There's no way to change the environment variable's key, we can only change the value. To do this, we have to copy the value, delete the existing var, and create new var.