Add reference_id field