updated callback calls to return response.data