updates to api