Updated API, so link is working correctly