update the config of http