added persist to data.json file