edited api call to lead data