changes to api