Update confs for master and slave