update config and daemon