move dependent api call into sucess block