updated python code to reflect changes in TCIA API