update segments.json with additional metadata