add segment ID and schema name