Updating to API