update json with new filename