Well, I analyzed the process in process explorer and proc mon. However I missed a small one line display on console that says -
21 Sep 15:18:45 - [info] Settings file : C:\Users\XXXX.node-red\settings.js
It turns out I was updating the wrong settings.js file all this while. Thanks @Steve-Mcl , I will try adding to the function node.