In order to commit changes to your config files, you need to make sure that one of the following things happen.
1. The www service must be stopped and restarted in IIS.
2. If making the change in IIS is not an option, then you can open up your web.config file and just save it. It will cause the same behavior.