update config files depending on container presence