updates to the api