update config functions