Update for latest conditions api.