update frontend to work with new data.json structure