modified field name for ref_id in DB