Update pooled sample regression code