Add ShardId to record