updated to external api