added current data to json file