fixing some deprecated stuff. updates to plotting protocol raw data