upload ref_item, ref_purpose to the server