Update condor according to new api.