Refresh inherited config when setting parent

`0.5` branch version of #706