Updating the json metadata file.