Update to retrieve data via JSON