update util.py to retrieve sample groups, subject groups, and specimens