updating whitelist in config