This will override the original config. Should copy the dict first