Is it possible to change the appID and accessKey while executing the nodejs app?

I just want to have the application running and everytime I need to update the appID or the accessKey to a different value through the website it automatically updates the ttn handler. However I haven’t been able to make it work.