making change in the api