update new api call