Updated widget to pull data from API