Explicitly update configuration when recursively setting paths; avoid relying on implicit dictionary updates #161