update name in json file
provisory method to exclude _id property