fix config updating

Comments still won't appear in nested paths.
That needs to be fixed