Update api call