update config script