update to new json structure