update config endpoint