updated the api handler