update config and remove restrict ip