Uodated the API's